<?php
/*=======================================================================
 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
 =======================================================================*/

global $prefix, $db, $admin_file;

 $domain = $_POST['domain'];
 $path = $_POST['path'];
 $maxuploads = $_POST['maxuploads'];
 $maxsize = $_POST['maxsize'];


$result = $db->sql_query("SELECT * FROM " . $prefix . "_upload_config");
$db->sql_query("UPDATE ".$prefix."_upload_config SET domain= '$domain', path= '$path', maxuploads='$maxuploads', maxsize='$maxsize'",$result) or die(mysql_error());
redirect($admin_file.".php?op=Upload_Main");

 ?>